package com.yunzhong.appointment.system.service;

import com.yunzhong.appointment.entity.Appointmentorder;
import com.yunzhong.appointment.entity.Department;
import com.yunzhong.appointment.entity.Departmenttype;
import com.yunzhong.appointment.util.PageData;

import java.util.List;
import java.util.Map;

public interface DepartmenttypeService {
    int deleteByPrimaryKey(String dplId);

    int insert(Departmenttype record);

    int insertSelective(Departmenttype record);

    Departmenttype selectByPrimaryKey(String dplId);

    int updateByPrimaryKeySelective(Departmenttype record);

    int updateByPrimaryKey(Departmenttype record);

    List<Departmenttype> listDepartmentType(PageData pd);

    List<Departmenttype> selectAll();

    List<Map<String,String>> selectByType();

    List<Department> selectById(String id);

    List<Appointmentorder> selectCount();
}
